package com.zjun.demo.experimentaldemo.indexbar

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.zjun.demo.experimentaldemo.R

class CountryAdapter: BaseQuickAdapter<CountryEntity, BaseViewHolder>(R.layout.item_country) {

    override fun convert(holder: BaseViewHolder, item: CountryEntity) {
        holder.setText(R.id.tvCountry,item.name)
    }

}